﻿using OneWorks.Metadata.Entity;

namespace OneWorks.Application.Interface
{
    using Entity;

    public interface IImageService
    {
        RunResult<Image> Get(string url);

        RunResult<Image> Add(Image image);

        RunResult<bool> Exists(string url);

        RunResult<PagedResult<Image>> Find(Image image, FindPage page);
    }
}
